package com.yy.wga.pay.service.client.response.alipay;

import com.yy.wga.pay.service.client.response.BaseOauthTokenResponse;
import com.yy.wga.pay.service.client.response.BaseOauthTokenResponse;
import com.yy.wga.pay.service.client.response.BaseOauthTokenResponse;
import com.yy.wga.pay.service.client.response.BaseOauthTokenResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @Author: gc
 * @Date: 2021/6/13
 * @Description:
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class AliPayOauthTokenResponse extends BaseOauthTokenResponse {
    private static final long serialVersionUID = -7020048489142763347L;

    /**
     * 收款方会员id
     */
    private String channelUserId;
    /**
     * 访问令牌
     */
    private String accessToken;
    /**
     * 刷新令牌。通过该令牌可以刷新access_token
     */
    private String refreshToken;
    /**
     * 访问令牌的有效时间，单位是秒
     */
    private String expiresIn;
    /**
     * 刷新令牌的有效时间，单位是秒
     */
    private String reExpiresIn;
    /**
     * 刷新令牌的有效时间，单位是秒
     */
    private String errorMsg;
}
